﻿@model IEnumerable<BDGetQuote.Web.Models.Category>

@{
    ViewBag.Title = "BD Quote - Categories";
}
<h3>Categories</h3>
<div id="categories-list">
    <ul class="thumbnails">
    @foreach (var item in Model)
    {
        <li class="span4">
            <div class="thumbnail">
                <table class="tbBox">
                    <tr>
                        <td class="tdImg" rowspan="2"><a href="Product/@item.CategoryId"><img src="@item.ImageUrl" class="img-polaroid box-img" alt="" /></a></td>
                        <td class="box-title">
                            <div>
                                <a href="Product/@item.CategoryId">@item.Name</a>
                            </div>
                            <div>
                                <span class="badge badge-success">@item.TotalProducts</span> Products
                            </div>
                        </td>    
                    </tr>
                </table>
            </div>
        </li>
    }
    </ul>
</div>
